var search_data = {"index":{"searchIndex":["tempfile","close()","close!()","create()","delete()","length()","new()","open()","open()","path()","size()","unlink()"],"longSearchIndex":["tempfile","tempfile#close()","tempfile#close!()","tempfile::create()","tempfile#delete()","tempfile#length()","tempfile::new()","tempfile#open()","tempfile::open()","tempfile#path()","tempfile#size()","tempfile#unlink()"],"info":[["Tempfile","","Tempfile.html","","<p>A utility class for managing temporary files. When you create a Tempfile object, it will create a temporary …\n"],["close","Tempfile","Tempfile.html#method-i-close","(unlink_now=false)","<p>Closes the file. If <code>unlink_now</code> is true, then the file will be unlinked (deleted) after closing. Of course, …\n"],["close!","Tempfile","Tempfile.html#method-i-close-21","()","<p>Closes and unlinks (deletes) the file. Has the same effect as called <code>close(true)</code>.\n"],["create","Tempfile","Tempfile.html#method-c-create","(basename=\"\", tmpdir=nil, mode: 0, **options)","<p>Creates a file in the underlying file system; returns a new File object based on that file.\n<p>With no block …\n"],["delete","Tempfile","Tempfile.html#method-i-delete","()",""],["length","Tempfile","Tempfile.html#method-i-length","()",""],["new","Tempfile","Tempfile.html#method-c-new","(basename=\"\", tmpdir=nil, mode: 0, **options)","<p>Creates a file in the underlying file system; returns a new Tempfile object based on that file.\n<p>If possible, …\n"],["open","Tempfile","Tempfile.html#method-i-open","()","<p>Opens or reopens the file with mode “r+”.\n"],["open","Tempfile","Tempfile.html#method-c-open","(*args, **kw)","<p>Creates a new Tempfile.\n<p>This method is not recommended and exists mostly for backward compatibility.  …\n"],["path","Tempfile","Tempfile.html#method-i-path","()","<p>Returns the full path name of the temporary file. This will be nil if #unlink has been called.\n"],["size","Tempfile","Tempfile.html#method-i-size","()","<p>Returns the size of the temporary file.  As a side effect, the IO buffer is flushed before determining …\n"],["unlink","Tempfile","Tempfile.html#method-i-unlink","()","<p>Unlinks (deletes) the file from the filesystem. One should always unlink the file after using it, as …\n"]]}}